<p><a href="<?php echo $this->url(array('module'=>'admin', 'controller'=>'user', 'action'=>'add'));?>">Add user</a></p>
<table border="1" cellpadding="1" cellspacing="1">
<tr>
     <th>Id</th>
     <th>Username</th>
     <th>&nbsp;</th>
</tr>
<?php foreach($this->users as $user) : ?>
<tr>
     <td><?php echo $this->escape($user->id);?></td>
     <td><?php echo $this->escape($user->username);?></td>
     <td>
          <a href="<?php echo $this->url(array('module'=>'admin', 'controller'=>'user', 'action'=>'edit', 'id'=>$user->id));?>">Edit</a>
          <a href="<?php echo $this->url(array('module'=>'admin', 'controller'=>'user', 'action'=>'delete', 'id'=>$user->id));?>">Delete</a>
     </td>
</tr>
<?php endforeach; ?>
</table>
